from django.contrib import admin
from interview import models


# Register your models here.

@admin.register(models.Player)
class PlayerAdmin(admin.ModelAdmin):
    list_display = ('id', 'name',)
    search_fields = ('id', 'name')


@admin.register(models.Score)
class ScoreAdmin(admin.ModelAdmin):
    list_display = ('id', 'player', 'score')


@admin.register(models.Charts)
class PChartsAdmin(admin.ModelAdmin):
    list_display = ('id', 'player', 'score')
